package cn.wyz.user.mapper;

import cn.wyz.user.domain.User;
import cn.wyz.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author WuyuZ
 * @since 2022-06-16
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 在user表中根据手机号查询,有表示帐号已存在
     * @param phone
     * @return
     */
    User selectByPhone(String phone);
}
